package ${packageStr};

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import java.util.Map;
${importStr}
${importStrDto}

/**
*
* ${entityDesc}Dao
*
* @version
*
<pre>
 * Author	Version		Date		Changes
 * ${author} 	1.0        ${time} 	Created
 *
 * </pre>
* @since 1.
*/
@Mapper
public interface ${className} {

/**
* 统计总条数
* @param list
* @return
*/
int countByParam(Map
<String, Object> map);
/**
* 分页查询
* @param list
* @return
*/
List<${dtoClassName}> queryByParam(Map
<String, Object> map);

/**
* 插入
* @param list
* @return
*/
int insert(${entityClassName} vo);

/**
* 更新
* @param list
* @return
*/
int update(${entityClassName} vo);

/**
* 删除
* @param map
* @return
*/
int delete(Map
<String, Object> map);

/**
* 根据id查询对象
* @param list
* @return
*/
${entityClassName} loadById(int id);

/**
* 根据参数进行查询
* @param dto
* @return
*/
List<${dtoClassName}> selectByParam(${dtoClassName} dto);

}